package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.FinancialPaymentApplyForm;
import com.sihai.ehr.model.biz.FinancialPaymentApplyFormAuditing;
import com.sihai.ehr.model.sys.User;
import com.sihai.ehr.web.pojo.SearchFormPojo;

import java.util.List;

/**
 * author: wxn
 * since: 13-4-14 下午12:13
 * 财务签核系统 - 用款申请单Service
 */
public interface FinancialPaymentApplyFormService {
    void save(FinancialPaymentApplyForm form)throws Exception;

    FinancialPaymentApplyForm get(Long id)throws Exception;

    boolean delete(String ids)throws Exception;

    LimitedList<FinancialPaymentApplyForm> findFinancialPaymentApplyForm(User user, SearchFormPojo searchFormPojo, Limit limit, Sorter sorter)throws Exception;

    List<List<FinancialPaymentApplyFormAuditing>> findFinancialPaymentApplyFormAuditing(Long formId)throws Exception;

    void saveFinancialPaymentApplyFormAuditingProcess(Long financialPaymentApplyFormId)throws Exception;
}
